package org.example.MyClass;

import org.example.MyClass.Interface.UserDao;
import org.example.MyClass.Interface.UserService;

public class UserServiceImpl implements UserService {
    private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void sayHello() {
        userDao.load();
        System.out.println("Hello World!");
    }
}
